package com.itawei.d4_charstream;

import java.io.FileWriter;
import java.io.IOException;

//字符输出流
public class Demo1 {
    public static void main(String[] args) throws IOException {
        FileWriter fw = new FileWriter("day06-file-io\\src\\com\\itawei\\a.txt",true);
        fw.write(25105);

        fw.write("宁姑娘，眉如远山");
        char[] chars = {'a','b','c','你'};
        char a = 'a';
        fw.write(chars);
        fw.write(a);
        fw.write("hello world",0,3);














        fw.close();
    }
}
